package com.ebei.admin.model.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("sys_org_role_user")
/**
 * 岗位用户中间表
 */
public class SysOrgRoleUser extends Model<SysOrgRoleUser> {

    @TableField("position_id")
    private Integer positionId;

    @TableField("user_id")
    private Integer userId;

    // 是否责任人 0是 1否
    @TableField("responsible")
    private String responsible;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
